<?php
require_once('config/config_FO.php');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

        <title>Designes associés</title>
        <link href="css/template.css" id="user_stylesheet" rel="stylesheet" type="text/css" />

        <script type='text/javascript' src='js/cargo.jquery.package.js'></script>
        <script type='text/javascript' src='js/cargo.site.package.js'></script>
        <script type='text/javascript' src='js/cargo.tools.package.js'></script>

        <script type="text/javascript" src="js/template.js" charset="utf-8"></script>	<script type="text/javascript">var _sf_startpt=(new Date()).getTime()</script>

        <link href="css/globalstyle.css" rel="stylesheet" type="text/css" charset="utf-8" />


    </head>


    <body >

        <!--menu haut-->
        <div id="conteneurGlobal">
            <div class="feed_nav feed_view">
                <ul id="menuInstit">
                    <li><a href="#">Home</a></li>
                    <li><a href="#">Contact</a></li>
                    <li><a href="#">Coordonnées</a></li>
                    <li><a href="#">Mentions légales</a></li>
                </ul>
            </div>


<!-- exemple de claire -->

            <div id="content_container" class="bodycopy"> 

                <div class="entry" id="entry_1" >
                    <!--dans le div project_content on place la couleur du background saisie-->
                    <div class="project_content" style="background-color:#c1b684">

                        <!--chaque image doit être dans un div blocImage-->
                        <div class="blocImage">
                            <img src="images/tempo/photo1.jpg" width="198" height="63" alt="photo1" />
                        </div>

                        <!--on saisit la couleur du texte dans la balise p-->
                        <p style="color:#FFF">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis malesuada dolor id felis pretium eu aliquam odio vestibulum. Nunc dignissim venenatis varius.</p>
                        <p style="color:#FFF"> Cras congue feugiat tellus et viverra. Morbi laoreet imperdiet odio, vitae interdum quam porttitor ac. Etiam mollis malesuada urna, nec rhoncus libero cursus vel. Vivamus erat eros,   malesuada ac consectetur volutpat, ultrices tincidunt </p>

                        <div class="blocImage"> 
                            <img src="images/tempo/photo2.jpg" alt="photo2" />
                        </div>

                        <p style="color:#FFF">Vivamus in nunc convallis dui tempus consectetur. Lorem ipsum dolor sit amet, consectetur adipiscing elit. In condimentum erat non erat auctor tempor at id arcu. Duis dapibus metus nec metus gravida sed placerat dolor fermentum. Etiam lacinia posuere </p>

                        <div class="blocImage"> <img src="images/tempo/photo3.jpg" alt="photo2" />
                        </div>

                    </div>
                </div>

<!-- fin exemple de claire -->

                <?php
                $numeroEntry = 0;
                $listePanneau = Panneau::getListePanneauAffiche();

                foreach ($listePanneau as $panneau) {
                    $numeroEntry++;
                    echo '<div class="entry" id="entry_' . $numeroEntry . '">';
                    echo'<div class="project_content" style="background-color:#' . $panneau->getCouleurFondPanneau() . '">';
                    echo $panneau->getContenu();
                    echo '</div>';
                    ?>

                </div>
                <?php
                }
        
//fin de la boucle
        ?>
</div>






        <div class="project_bottom"><!-- //--></div><!-- //--></div></div><script type="text/javascript" src="js/jquery.scrollTo.js" charset="utf-8"></script><div class="bottompad">&nbsp;</div>	
        </div>

    </body>
</html>
